package xyz.chaobei.controller.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
@RequestMapping("orgUserRole")
public class PageOrgUserRoleController {

    /**
     * 配置角色与用户的关联页面
     *
     * @return
     */
    @GetMapping("view")
    public String view(Map<String, Object> map, Integer id) {

        map.put("userId", id);
        return "system/userRole";
    }

}
